Molongui\Contributors\Post B

Total Complexity 80
Dependencies 9
Dependents 5
Total lines 539
Lines of code 352
Logical lines of code 184
Comment lines 110
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
get_contributors()
A
48 9 34
set_contributors()
A
46 8 41
has_contributors()
A
49 7 34
add_bylines_to_content()
S
58 6 16
add_contributors_metabox()
S
56 5 19
get_contributor_terms()
S
52 4 25
on_save_post()
S
58 4 17
is_post_type_enabled()
S
61 4 12
byline_extra_styles()
S
56 3 15
add_contributors_metabox_script_params()
S
51 2 25
get_the_byline_preview()
S
54 2 22
autoadd_bylines_to_content()
S
66 3 7
register_contributors_metabox_scripts()
S
63 2 10
register_byline_styles()
S
73 2 4
enqueue_byline_styles()
S
73 2 4
add_custom_styles()
S
65 2 9
hide_theme_byline()
S
67 2 8
__construct()
S
60 1 12
enqueue_contributors_metabox_scripts()
S
74 1 4
get_byline_prefix()
S
73 1 4
contributor_selector()
S
80 1 3
render_contributors_metabox()
S
80 1 3
get_the_contributors()
S
80 1 3
the_contributors()
S
80 1 3
get_the_contributor_role_markup()
S
80 1 3
get_the_contributor_name_markup()
S
80 1 3
get_the_byline()
S
79 1 3
get_the_bylines()
S
78 1 3
the_byline()
S
81 1 3
custom_wp_kses_allowed_html()
S
80 1 3